<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue基础</title>
</head>

<body>
    <div id="app">{{message}}{{q88}}
        <p>
            {{array}}{{array.name}}{{array.q1}}
        </p>
        <p>
            {{sz}}
        </p>
        <p>{{sz[0]}} {{sz[1]}}</p>
    </div>

    <script src="./vue-v2.7.13.js"></script>
    <script>
        var app = new Vue({
            el: "#app",
            //输出的数据
            data: {
                message: "5",
                q88: 99,
                array: {
                    name: "zx", q1: 888
                },
                sz: ["sss", "888"]

            }
        })

    </script>



</body>

</html>